package de.slash.jplaylistextractor.model;

import java.io.File;

/**
 * User: Slash
 * Date: 01.03.2012
 * Time: 19:30
 */
public class Media
{
    private String path;

    public Media(String pPath)
    {
        path = pPath;
    }

    public String getPath()
    {
        return path;
    }

    public String toString()
    {
        File mediaFile = new File(path);
        return mediaFile.getName();
    }
}
